package cn.bdqn.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
@ApiModel(value = "订单实体类", description = "这是用来描述一个类的信息")
public class Order  implements Serializable {
    @ApiModelProperty(value = "主键", required = true, notes = "这是必须要填")
    private Long orderId;
    @ApiModelProperty(value = "医生id", required = true, notes = "这是必须要填")
    private Integer doctorId;
    @ApiModelProperty(value = "用户id", required = true, notes = "这是必须要填")
    private Integer userId;
    @ApiModelProperty(value = "总价", required = true, notes = "这是必须要填")
    private BigDecimal count;
    @ApiModelProperty(value = "服务id", required = true, notes = "这是必须要填")
    private Integer serviceId;
    @ApiModelProperty(value = "付款方式", required = true, notes = "付款方式1为支付宝")
    private Integer payWay;
    @ApiModelProperty(value = "订单编号", required = true, notes = "这是必须要填")
    private String traderId;
    @ApiModelProperty(value = "订单状态", required = true, notes = "这是必须要填")
    private Integer status;

    private Date creationdate;

    private Integer createdby;

    private Date modifydate;

    private Integer modifiedby;

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Integer getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(Integer doctorId) {
        this.doctorId = doctorId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public BigDecimal getCount() {
        return count;
    }

    public void setCount(BigDecimal count) {
        this.count = count;
    }

    public Integer getServiceId() {
        return serviceId;
    }

    public void setServiceId(Integer serviceId) {
        this.serviceId = serviceId;
    }

    public Integer getPayWay() {
        return payWay;
    }

    public void setPayWay(Integer payWay) {
        this.payWay = payWay;
    }

    public String getTraderId() {
        return traderId;
    }

    public void setTraderId(String traderId) {
        this.traderId = traderId == null ? null : traderId.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreationdate() {
        return creationdate;
    }

    public void setCreationdate(Date creationdate) {
        this.creationdate = creationdate;
    }

    public Integer getCreatedby() {
        return createdby;
    }

    public void setCreatedby(Integer createdby) {
        this.createdby = createdby;
    }

    public Date getModifydate() {
        return modifydate;
    }

    public void setModifydate(Date modifydate) {
        this.modifydate = modifydate;
    }

    public Integer getModifiedby() {
        return modifiedby;
    }

    public void setModifiedby(Integer modifiedby) {
        this.modifiedby = modifiedby;
    }
}